package work;

public class Test01 {

	public static void main(String[] args) {
		
		Car car = new Car("宾利","酒红",4);
		
		Truck t = new Truck("牧马人","蓝色",20.0f);
		
		show(car);
		
		show(t);
		
		car.showCar();
		
		t.showTruck();
		
		car.showInfo();
		
		t.showInfo();

	}
	
	public static void show(Vehicles v){
		v.run();
	}

}
